import { defineStore } from "pinia";

// 日期
const startDateStr = new Date()
const endDateStr = new Date()
endDateStr.setDate(startDateStr.getDate() + 1)  // 当前时间＋1天
const useMainStore = defineStore("main", {
    state: () => {
        return{
            startDateStr: startDateStr,
            endDateStr: endDateStr,
            isLoading: false
        }
    }
})

export default useMainStore